package com.zhxy.manager.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class College {
    @ExcelProperty("序号")
    private int id;
    @ExcelProperty("院系名")
    private String name;
    @ExcelProperty("学院院长")
    private String dean;
    @ExcelProperty("手机号")
    private String phone;
    @ExcelProperty("录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")//指定JSON转换的日期格式
    private Date ctime;

}
